<#macro script_import>
</#macro> 
<#macro script>
</#macro> 
<#macro css_import>
</#macro> 
<#macro css>
</#macro> 
<#macro layout>
<!DOCTYPE html>
<html>
<head>
    <title>${WEB_TITLE!'靓仔梁商城'}</title>
    <meta name="keywords" content="${META_KEYWORDS!}">
    <meta name="description" content="${META_DESCRIPTION!}">
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
    <meta name="renderer" content="webkit">
    <!--[if lte IE 8]><script src="${CTPATH}/assets/js/ie/html5shiv.js"></script><![endif]-->
    <link rel="stylesheet" href="${CTPATH}/assets/css/main.css" />
    <link rel="stylesheet" href="${CTPATH}/assets/slick/slick.css" />
    <link rel="stylesheet" href="${CTPATH}/assets/slick/slick-theme.css" />
    <link rel="stylesheet" href="${CTPATH}/assets/touchspin/jquery.bootstrap-touchspin.min.css" />
    <!--[if lte IE 9]><link rel="stylesheet" href="${CTPATH}/assets/css/ie9.css" /><![endif]-->
    <!--[if lte IE 8]><link rel="stylesheet" href="${CTPATH}/assets/css/ie8.css" /><![endif]-->
    <link rel="icon" href="${CTPATH}/favicon.ico" mce_href="${CTPATH}/favicon.ico" type="image/x-icon">
    <link rel="shortcut icon" href="${CTPATH}/favicon.ico" mce_href="${CTPATH}/favicon.ico" type="image/x-icon">
    <@css_import />
    <#if css ??>
  	    <style type="text/css">
  	        <@css />
  	    </style>
    </#if>
</head>
<body>
<!-- Wrapper -->
<div id="wrapper">
    <!-- Main -->
    <div id="main">
        <div class="inner">
            <!-- Header -->
            <#include "_header.html"/>

            <#nested>
        </div>
    </div>

    <!-- Sidebar -->
    <div id="sidebar">
        <div class="inner">
            <!-- Search -->
            <#include "_search_box.html"/>

            <!-- Menu -->
            <#include "_menu.html"/>

            <!-- Content Box -->
            <#include "_content_box.html"/>

            <!-- Footer -->
            <#include "_foot.html"/>
        </div>
    </div>
</div>

    <@script_import />

    <!-- jQuery 2.1.4 -->
    <script src="${CPATH}/static/plugins/jquery/jquery-2.1.4.min.js"></script>
    <script src="${CPATH}/static/plugins/jquery/jquery.form.min.js"></script>
    <script src="${CTPATH}/assets/js/skel.min.js"></script>
    <script src="${CTPATH}/assets/js/util.js"></script>
    <!--[if lte IE 8]><script src="${CTPATH}/assets/js/ie/respond.min.js"></script><![endif]-->
    <script src="${CTPATH}/assets/js/main.js"></script>
    <script src="${CTPATH}/assets/slick/slick.js"></script>
    <script src="${CTPATH}/assets/touchspin/jquery.bootstrap-touchspin.min.js"></script>
    <script src="${CPATH}/static/layer/layer.js"></script>
    <script type="text/javascript">
        document.onkeydown=function(event){
            e = event ? event :(window.event ? window.event : null);
            if(e.keyCode==13){
                document.getElementById("searchBoxForm").submit();
            }
        }

        $(document).ready(function(){
            $('.autoplay').slick({
                dots: true,
                slidesToShow: 1,
                slidesToScroll: 1,
                autoplay: true,
                autoplaySpeed: 2000,
                prevArrow:'',
                nextArrow:'',
            });
        });

        <@script />
    </script>
</body>
</html>
</#macro>